package com.goldcn.user.dao;

import com.goldcn.user.model.Homepage;
import com.goldcn.user.model.RoleFunction;

import java.util.List;
import java.util.Map;

public interface HomepageMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Homepage record);

    int insertSelective(Homepage record);

    Homepage selectByPrimaryKey(Integer id);

    Homepage selectByCondition(Map<String, Object> param);

    int updateByPrimaryKeySelective(Homepage record);

    int updateByPrimaryKey(Homepage record);

    List<Homepage> selectAll(Map<String, Object> param);

    List<Homepage> selectBySubjectID(Long subjectID);

    Integer getMaxID();

    int insertBatch(List<Homepage> record);
}